/**
 * 
 */
package com.ai.model.monitor;

import java.io.Serializable;

/**
 * Class Name		: DataSourceModel<br>
 * 
 * Description		: 数据源对象信息model(监控数据源用)<br>
 * 
 * @author zhangdh
 * @version $Revision$
 * @see
 *
 */
public class DataSourceModel implements Serializable {

    //<code>serialVersionUID</code> 的注释
    private static final long serialVersionUID = 8308469898968721291L;

    /**
     * 资源名称
     */
    private String resourceName;
    /**
     * 连接池中有效的连接数
     */
    private int poolAvailableSize;
    /**
     * 当前连接池的总连接数
     */
    private int poolTotalSize;

    public int getPoolAvailableSize() {
        return poolAvailableSize;
    }

    public void setPoolAvailableSize(int poolAvailableSize) {
        this.poolAvailableSize = poolAvailableSize;
    }

    public int getPoolTotalSize() {
        return poolTotalSize;
    }

    public void setPoolTotalSize(int poolTotalSize) {
        this.poolTotalSize = poolTotalSize;
    }

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }
    
}
